<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Library Evolutionary Algorithms for Clustering (LEAC): include/ga_selection.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="leac_logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Library Evolutionary Algorithms for Clustering (LEAC)
   &#160;<span id="projectnumber">Version 1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">ga_selection.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="ga__selection_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#ifndef GASELECTION_HPP</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#define GASELECTION_HPP</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &lt;iterator&gt;</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="common_8hpp.html">common.hpp</a>&quot;</span> <span class="comment">//uintidx</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="random__ext_8hpp.html">random_ext.hpp</a>&quot;</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="verbose__global_8hpp.html">verbose_global.hpp</a>&quot;</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">extern</span> <a class="code" href="random__ext_8hpp.html#a096d42d6e488c0b0de08cd7c24ec0099">StdMT19937</a> <a class="code" href="ga__selection_8hpp.html#acee5944d570f2fb7efdf1d4c801b30fb">gmt19937_eng</a>;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegaselect.html">gaselect</a> {</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="keyword">template</span> &lt; <span class="keyword">typename</span> T_PROBABILITY, <span class="keyword">typename</span> T_INTIDX &gt;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;T_INTIDX</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<a class="code" href="namespacegaselect.html#ae9cfd02b23815a3c1291b4adb0b7658a">getIdxRouletteWheel</a></div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="namespacegaselect.html#ae9cfd02b23815a3c1291b4adb0b7658a">   63</a></span>&#160;(<span class="keyword">const</span> std::vector&lt;T_PROBABILITY&gt; &amp;aivectorrt_probDist,</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160; <span class="keyword">const</span> T_INTIDX                   aiuintidx_begin </div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; )</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;{</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;  <span class="comment">/* std::random_device rd;  //Will be used to obtain a seed for the random number engine</span></div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="comment">  std::mt19937 gen(rd()); //Standard mersenne_twister_engine seeded with rd()</span></div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="comment">  std::uniform_real_distribution&lt;&gt; dis(0.0, 1.1);</span></div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="comment">  */</span></div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;  <span class="keyword">static</span> std::uniform_real_distribution&lt;T_PROBABILITY&gt; lsuniformdis_real01(0.0,1.0);</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;  T_PROBABILITY lrt_numberRand01 = lsuniformdis_real01(<a class="code" href="ga__selection_8hpp.html#acee5944d570f2fb7efdf1d4c801b30fb">gmt19937_eng</a>);</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;  </div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  T_INTIDX  loiidx_rand = aiuintidx_begin; </div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;  T_INTIDX  liidx_sizeVectorProbDist = (T_INTIDX) aivectorrt_probDist.size();</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;  </div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="preprocessor">#ifdef __VERBOSE_YES</span></div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;  <span class="keyword">const</span> <span class="keywordtype">char</span>* lpc_labelFunc = <span class="stringliteral">&quot;gaselect::getIdxRouletteWheel&quot;</span>;</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;  ++geiinparam_verbose;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;  <span class="keywordflow">if</span> ( geiinparam_verbose &lt;= geiinparam_verboseMax ) {</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    std::cout &lt;&lt; lpc_labelFunc </div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;              &lt;&lt; <span class="stringliteral">&quot;:  IN(&quot;</span> &lt;&lt; geiinparam_verbose &lt;&lt; <span class="stringliteral">&quot;)\n&quot;</span></div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;              &lt;&lt; <span class="stringliteral">&quot;(input  vector&lt;T_PROBABILITY&gt;&amp;: aivectorrt_probDist[&quot;</span> &lt;&lt; &amp;aivectorrt_probDist &lt;&lt; <span class="stringliteral">&quot;]\n&quot;</span></div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;              &lt;&lt; <span class="stringliteral">&quot; input  aiuintidx_begin = &quot;</span> &lt;&lt; aiuintidx_begin &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span></div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;              &lt;&lt; <span class="stringliteral">&quot; T_PROBABILITY  lrt_numberRand01 = &quot;</span> &lt;&lt; lrt_numberRand01</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;              &lt;&lt; <span class="stringliteral">&quot;\n)\n&quot;</span>;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;  }</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/*__VERBOSE_YES*/</span><span class="preprocessor"></span></div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;  <span class="keywordflow">while</span> ( loiidx_rand &lt; liidx_sizeVectorProbDist &amp;&amp;</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;          lrt_numberRand01 &gt; aivectorrt_probDist[loiidx_rand]</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;          )</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    loiidx_rand++;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;  <span class="keywordflow">if</span> ( loiidx_rand &gt;= liidx_sizeVectorProbDist ) --loiidx_rand;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;  loiidx_rand += aiuintidx_begin;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160; </div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="preprocessor">#ifdef __VERBOSE_YES</span></div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;  <span class="keywordflow">if</span> ( geiinparam_verbose &lt;= geiinparam_verboseMax ) {</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    std::cout &lt;&lt; lpc_labelFunc</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;              &lt;&lt; <span class="stringliteral">&quot;: OUT(&quot;</span> &lt;&lt; geiinparam_verbose &lt;&lt; <span class="charliteral">&#39;)&#39;</span></div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;              &lt;&lt; <span class="stringliteral">&quot;, T_INTIDX loiidx_rand = &quot;</span> &lt;&lt; loiidx_rand</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;              &lt;&lt; std::endl;             </div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;  }</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;  --geiinparam_verbose;</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/*__VERBOSE_YES*/</span><span class="preprocessor"></span></div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;  <span class="keywordflow">return</span> loiidx_rand;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;}</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> INPUT_ITERATOR, <span class="keyword">typename</span> FITNESSOPERATION&gt;</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;INPUT_ITERATOR</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<a class="code" href="namespacegaselect.html#a8c112d058e3c23e488ec889223dc6b5e">tournament</a></div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="namespacegaselect.html#a8c112d058e3c23e488ec889223dc6b5e">  145</a></span>&#160;(<span class="keyword">const</span> INPUT_ITERATOR      aiiterator_instfirst,</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160; <span class="keyword">const</span> INPUT_ITERATOR      aiiterator_instlast,</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160; <span class="keyword">const</span> <a class="code" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a>             aiuintidx_orderTournament,</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160; <span class="keyword">const</span> FITNESSOPERATION    fitness_func</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160; )</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;{    </div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="preprocessor">#ifdef __VERBOSE_YES</span></div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;  <span class="keyword">const</span> <span class="keywordtype">char</span>* lpc_labelFunc = <span class="stringliteral">&quot;gabinaryop::selectTournament&quot;</span>;</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;  ++geiinparam_verbose;</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;  <span class="keywordflow">if</span> ( geiinparam_verbose &lt;= geiinparam_verboseMax ) {</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    std::cout &lt;&lt; lpc_labelFunc </div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;              &lt;&lt; <span class="stringliteral">&quot;:  IN(&quot;</span> &lt;&lt; geiinparam_verbose &lt;&lt; <span class="stringliteral">&quot;)\n&quot;</span></div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;              &lt;&lt; <span class="stringliteral">&quot;(input aiiterator_instfirst[&quot;</span> &lt;&lt; &amp;aiiterator_instfirst &lt;&lt; <span class="stringliteral">&quot;]\n&quot;</span></div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;              &lt;&lt; <span class="stringliteral">&quot; input aiiterator_instlast[&quot;</span> &lt;&lt; &amp;aiiterator_instlast &lt;&lt; <span class="stringliteral">&quot;]\n&quot;</span></div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;              &lt;&lt; <span class="stringliteral">&quot; input  uintidx: aiuintidx_orderTournament = &quot;</span> &lt;&lt; aiuintidx_orderTournament</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;              &lt;&lt; <span class="stringliteral">&quot;\n)&quot;</span></div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;              &lt;&lt; std::endl;</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;  }</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="preprocessor">#endif //__VERBOSE_YES</span></div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;  <span class="keyword">const</span> <a class="code" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a>  lui_numInstances = <a class="code" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a>(std::distance(aiiterator_instfirst,aiiterator_instlast));</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;  </div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;  std::uniform_int_distribution&lt;uintidx&gt; luniformdis_populationSize</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;        (0, (<a class="code" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a>) (lui_numInstances-1));</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;  </div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;  INPUT_ITERATOR loptchom_best = aiiterator_instfirst;</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;  std::advance(loptchom_best,luniformdis_populationSize(<a class="code" href="ga__selection_8hpp.html#acee5944d570f2fb7efdf1d4c801b30fb">gmt19937_eng</a>));</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;   </div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;  <span class="keywordflow">for</span> (<a class="code" href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a> <a class="code" href="namespaceinout.html#a58988b65e7b78cbd7c509518c7baff7e">li_i</a> = 1; <a class="code" href="namespaceinout.html#a58988b65e7b78cbd7c509518c7baff7e">li_i</a> &lt; aiuintidx_orderTournament; <a class="code" href="namespaceinout.html#a58988b65e7b78cbd7c509518c7baff7e">li_i</a>++) {</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    INPUT_ITERATOR literator_select = aiiterator_instfirst;</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;    std::advance(literator_select,luniformdis_populationSize(<a class="code" href="ga__selection_8hpp.html#acee5944d570f2fb7efdf1d4c801b30fb">gmt19937_eng</a>));</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;  </div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    <span class="keywordflow">if</span> ( fitness_func(*literator_select)  &gt; fitness_func(*loptchom_best)  )</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;      loptchom_best = literator_select;</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;  }</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;  </div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="preprocessor">#ifdef __VERBOSE_YES</span></div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;  <span class="keywordflow">if</span> ( geiinparam_verbose &lt;= geiinparam_verboseMax ) {</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;    std::cout &lt;&lt; lpc_labelFunc</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;              &lt;&lt; <span class="stringliteral">&quot;: OUT(&quot;</span> &lt;&lt; geiinparam_verbose &lt;&lt; <span class="stringliteral">&quot;)\n&quot;</span>;</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    (*loptchom_best)-&gt;print(std::cout,lpc_labelFunc);</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    std::cout &lt;&lt; std::endl;</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;  }</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;  --geiinparam_verbose;</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;<span class="preprocessor">#endif //__VERBOSE_YES</span></div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;  <span class="keywordflow">return</span> loptchom_best;</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;  </div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;}</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;  </div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;} <span class="comment">/*END namespace stdgaselect*/</span></div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/*GASELECTION_HPP*/</span><span class="preprocessor"></span></div><div class="ttc" id="namespacegaselect_html_ae9cfd02b23815a3c1291b4adb0b7658a"><div class="ttname"><a href="namespacegaselect.html#ae9cfd02b23815a3c1291b4adb0b7658a">gaselect::getIdxRouletteWheel</a></div><div class="ttdeci">T_INTIDX getIdxRouletteWheel(const std::vector&lt; T_PROBABILITY &gt; &amp;aivectorrt_probDist, const T_INTIDX aiuintidx_begin)</div><div class="ttdoc">Selection a random index in [IdxBegin,n].</div><div class="ttdef"><b>Definition:</b> <a href="ga__selection_8hpp_source.html#l00063">ga_selection.hpp:63</a></div></div>
<div class="ttc" id="common_8hpp_html_a3f6c33fb604556cdc425e7aa2289d009"><div class="ttname"><a href="common_8hpp.html#a3f6c33fb604556cdc425e7aa2289d009">uintidx</a></div><div class="ttdeci">uint32_t uintidx</div><div class="ttdef"><b>Definition:</b> <a href="common_8hpp_source.html#l00020">common.hpp:20</a></div></div>
<div class="ttc" id="namespacegaselect_html_a8c112d058e3c23e488ec889223dc6b5e"><div class="ttname"><a href="namespacegaselect.html#a8c112d058e3c23e488ec889223dc6b5e">gaselect::tournament</a></div><div class="ttdeci">INPUT_ITERATOR tournament(const INPUT_ITERATOR aiiterator_instfirst, const INPUT_ITERATOR aiiterator_instlast, const uintidx aiuintidx_orderTournament, const FITNESSOPERATION fitness_func)</div><div class="ttdef"><b>Definition:</b> <a href="ga__selection_8hpp_source.html#l00145">ga_selection.hpp:145</a></div></div>
<div class="ttc" id="namespacegaselect_html"><div class="ttname"><a href="namespacegaselect.html">gaselect</a></div><div class="ttdoc">Chromosome selection method in genetic algorithms.</div></div>
<div class="ttc" id="namespaceinout_html_a58988b65e7b78cbd7c509518c7baff7e"><div class="ttname"><a href="namespaceinout.html#a58988b65e7b78cbd7c509518c7baff7e">inout::li_i</a></div><div class="ttdeci">uintidx li_i</div><div class="ttdef"><b>Definition:</b> <a href="inparamclustering__getparameter_8hpp_source.html#l00503">inparamclustering_getparameter.hpp:503</a></div></div>
<div class="ttc" id="common_8hpp_html"><div class="ttname"><a href="common_8hpp.html">common.hpp</a></div><div class="ttdoc">common</div></div>
<div class="ttc" id="random__ext_8hpp_html"><div class="ttname"><a href="random__ext_8hpp.html">random_ext.hpp</a></div><div class="ttdoc">Operation for the generation of pseudo random numbers.</div></div>
<div class="ttc" id="random__ext_8hpp_html_a096d42d6e488c0b0de08cd7c24ec0099"><div class="ttname"><a href="random__ext_8hpp.html#a096d42d6e488c0b0de08cd7c24ec0099">StdMT19937</a></div><div class="ttdeci">std::mt19937 StdMT19937</div><div class="ttdef"><b>Definition:</b> <a href="random__ext_8hpp_source.html#l00060">random_ext.hpp:60</a></div></div>
<div class="ttc" id="verbose__global_8hpp_html"><div class="ttname"><a href="verbose__global_8hpp.html">verbose_global.hpp</a></div><div class="ttdoc">verbose global</div></div>
<div class="ttc" id="ga__selection_8hpp_html_acee5944d570f2fb7efdf1d4c801b30fb"><div class="ttname"><a href="ga__selection_8hpp.html#acee5944d570f2fb7efdf1d4c801b30fb">gmt19937_eng</a></div><div class="ttdeci">StdMT19937 gmt19937_eng</div><div class="ttdef"><b>Definition:</b> <a href="random__ext_8hpp_source.html#l00063">random_ext.hpp:63</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 19 2019 08:58:31 for Library Evolutionary Algorithms for Clustering (LEAC) by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
